]> dgit.raspbian.org Git - gnome-shell.git/commit
remoteSearch: Don't add providers more than once
authorFlorian Müllner <fmuellner@gnome.org>
Wed, 22 Aug 2012 14:19:22 +0000 (16:19 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Wed, 22 Aug 2012 19:00:52 +0000 (21:00 +0200)
commit56dc2eb96ee10f324d351d0be55dc21df45dee85
treee0ab4da47073342843c32a2cc3f3d5f4586271fe
parent2154a22c90ba48cb67f3bda91d4d741dcec9bb59
remoteSearch: Don't add providers more than once

Currently we load all search providers from XDG_DATA_DIRS, so if
the same provider is installed several times in different directories,
we happily show duplicate results. To fix, keep track of all remote
providers we add and skip those that already have been loaded from a
different directory.

https://bugzilla.gnome.org/show_bug.cgi?id=682470
js/ui/remoteSearch.js